package com.sf.bank;

import org.apache.activemq.command.ActiveMQQueue;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;

import javax.jms.Queue;

/**
 * 熟练掌握springboot，怎么实现免配置文件，那些用到了哪些注解
 * ¥1000-3000
 * 此类都能做哪些事
 * 暂时只写后端，页面暂时搁置
 */
@SpringBootApplication
@EnableCaching
public class CV_bootApplication {
    public static void main(String[] args) {
        SpringApplication.run(CV_bootApplication.class, args);
    }
    @Bean
    public Queue queue() {
        return new ActiveMQQueue("cnn.queue");
    }
}
